package com.turing.post.common.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 黑名单实现业务接口
 * @author zxp
 * @Dec 22, 2012
 */
@Remote
@Local
public interface BlackListBusiness {

	/**
	 * 新增黑名单
	 * @param webInput 日志记录对象
	 * @param blackList 黑名单对象
	 * @throws PCPSApplicationException
	 */
	public void insertBlackListInfo(PCPSWebInput webInput, BlackList blackList)
			throws PCPSApplicationException;


	/**
	 * 修改黑名单
	 * @param webInput 日志记录对象
	 * @param blackList 黑名单对象
	 * @throws PCPSApplicationException
	 */
	public void updateBlackListInfo(PCPSWebInput webInput, BlackList blackList)
			throws PCPSApplicationException;

	/**
	 * 删除黑名单
	 * 
	 * @param webInput 日志记录对象
	 * @param blackList 黑名单对象
	 * @throws PCPSApplicationException
	 */
	public void deleteBlackListInfo(PCPSWebInput webInput, BlackList blackList)
			throws PCPSApplicationException;
}
